package com.guawazi.bean;


import com.google.gson.annotations.SerializedName;

public class DataEntity {
    @SerializedName(value = "id")
    private long id;
    @SerializedName(value = "phone_number")
    private String phoneNumber;
    @SerializedName(value = "voltage_value")
    private long voltageValue;
    @SerializedName(value = "marker_position")
    private String markerPosition;//标志位
    @SerializedName(value = "acceleration_x")
    private long accelerationX;//加速度x
    @SerializedName(value = "acceleration_y")
    private long accelerationY;//加速度y
    @SerializedName(value = "acceleration_z")
    private long accelerationZ;//加速度z
    @SerializedName(value = "time")
    private long time;//时间
    @SerializedName(value = "latitude")
    private String latitude;//经度
    @SerializedName(value = "longitude")
    private String longitude;//纬度
    @SerializedName(value = "date")
    private long date;//日期
    @SerializedName(value = "judgment_position")
    private String judgmentPosition;//判断位，S危险，D安全

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public long getVoltageValue() {
        return voltageValue;
    }

    public void setVoltageValue(long voltageValue) {
        this.voltageValue = voltageValue;
    }

    public String getMarkerPosition() {
        return markerPosition;
    }

    public void setMarkerPosition(String markerPosition) {
        this.markerPosition = markerPosition;
    }

    public long getAccelerationX() {
        return accelerationX;
    }

    public void setAccelerationX(long accelerationX) {
        this.accelerationX = accelerationX;
    }

    public long getAccelerationY() {
        return accelerationY;
    }

    public void setAccelerationY(long accelerationY) {
        this.accelerationY = accelerationY;
    }

    public long getAccelerationZ() {
        return accelerationZ;
    }

    public void setAccelerationZ(long accelerationZ) {
        this.accelerationZ = accelerationZ;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public long getDate() {
        return date;
    }

    public void setDate(long date) {
        this.date = date;
    }

    public String getJudgmentPosition() {
        return judgmentPosition;
    }

    public void setJudgmentPosition(String judgmentPosition) {
        this.judgmentPosition = judgmentPosition;
    }

    @Override
    public String toString() {
        return "DataEntity{" +
                "id=" + id +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", voltageValue=" + voltageValue +
                ", markerPosition='" + markerPosition + '\'' +
                ", accelerationX=" + accelerationX +
                ", accelerationY=" + accelerationY +
                ", accelerationZ=" + accelerationZ +
                ", time=" + time +
                ", latitude='" + latitude + '\'' +
                ", longitude='" + longitude + '\'' +
                ", date=" + date +
                ", judgmentPosition='" + judgmentPosition + '\'' +
                '}';
    }
}
